JavaScript Banner

This stationery page contains a JavaScript Banner Example

Please note that JavaScript is currently only available in Netscape Navigator 2.0 or later, and in Internet Explorer for MacOS version 3.0.1 or later. Do not assume that all in your audience are using a JavaScript enabled browser.



How to use:

Copy all JavaScript (located in the Head section of this file) to another file. You can also use this file as a stationery.

Use the following Body tag <BODY onLoad="startclock()"> to start the timer that is used for updating the field with new messages.

Use something like this inside the Body part of your page to display the banner.

<FORM NAME="timerForm" onSubmit="0">
<INPUT TYPE="text" NAME="timerField" SIZE=45 VALUE ="">
</FORM>

Adjust the size of the text field in the attribute named SIZE=40, remember to add some extra space or test it in different browsers to make sure the longest of your messages is fully visible.

Another way of displaying different messages is to use animated GIF-images. This will give you more graphical control of the display and can even be used to create simple movies. Use an application such as GIFBuilder to create animated GIF-images.